home *** CD-ROM | disk | FTP | other *** search
- from PSPApp import *
-
- def ScriptProperties():
- return {
- 'Author': u'Corel Corporation',
- 'Copyright': u'Copyright (c) 2003-2004 Corel Corporation All rights reserved.',
- 'Description': 'Factory default preset for BallsAndBubbles effect',
- 'Host': 'Paint Shop Pro 8',
- 'Host Version': '8.00',
- }
-
- def Preset_BallsAndBubbles():
- return {
- 'Illumination': {
- 'MaxAmbience': 50,
- 'MinAmbience': 0,
- 'LightList': [{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (255,255,255),
- 'Direction': (1,1,-1),
- 'HighlightSize': 33
- }]
- },
- 'Mode': App.Constants.CountType.Single,
- 'Multiple': {
- 'AverageSize': 15,
- 'Coverage': 100,
- 'CreateMethod': App.Constants.BubbleCreateMethod.NonIntersecting,
- 'SizeVariation': 75
- },
- 'RandomSeed': 0,
- 'RandomizePlacement': App.Constants.Boolean.false,
- 'Single': {
- 'MaxPossibleSize': App.Constants.Boolean.false
- },
- 'Surface': {
- 'Material': {
- 'Color': (255,255,255),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'BumpMap': {
- 'Active': App.Constants.Boolean.false,
- 'Depth': 30,
- 'FileName': r'',
- 'Fit': App.Constants.Boolean.true,
- 'Size': 100,
- 'Smoothness': 0
- },
- 'EnvironmentMap': {
- 'FringeType': 0,
- 'Active': App.Constants.Boolean.false,
- 'FileName': r'',
- 'FringeSpacing': 90,
- 'PatternOpacity': 100,
- 'EnvironmentType': App.Constants.BubbleMapType.Diffraction
- },
- 'Gloss': 0,
- 'Opacity': 15,
- 'Shininess': 50
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'BallsAndBubbles', Preset_BallsAndBubbles())
-
-